﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Nickron - @ViewBag.Title</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        @Styles.Render("~/Content/css")
        @Styles.Render("~/Content/AdminLTE")
        @Styles.Render("~/Content/jqWidget")
        @Styles.Render("~/Content/themes/base/css")

        @Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/jqueryui")
        @Scripts.Render("~/bundles/bootstrap")
        @Scripts.Render("~/bundles/page")
        @Scripts.Render("~/bundles/jgWidget")
        @Scripts.Render("~/bundles/AdminLTEApp")
    </head>
<body class="skin-blue">
    <!-- header logo: style can be found in header.less -->
    <header class="header">
        <a href="@Url.Action("Index","Home",null)" class="logo"> <img src='@Url.Content("~/Images/header_logo.jpg")' width="171" height="51" alt="nikcron Logo" title="nikcron logo"> </a>
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a>
            <div class="navbar-right">
                <ul class="nav navbar-nav">
                    <!-- Messages: style can be found in dropdown.less-->
                    <li class="dropdown messages-menu"><a style="background: none; color: #3e88a8" href="">Welcome :&nbsp;<span style="font-weight:bold;margin-left:5px;"> Admin</span></a> </li>
                    <!-- Notifications: style can be found in dropdown.less -->
                    <li class="dropdown notifications-menu">
                        @*<a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="ion ion-android-contacts"></i> <span>Master</span> </a>
                        <ul class="dropdown-menu">
                            <li>
               
                                <ul class="menu">
                                    <li> <a href="#"> <i class="ion ion-ios7-people info"></i>Master 1</a> </li>
                                    <li> <a href="#"> <i class="fa ion-ios7-people danger"></i>Master 2</a> </li>
                                    <li> <a href="#"> <i class="fa ion-ios7-people warning"></i>Master 3</a> </li>
                                    <li> <a href="#"> <i class="ion ion-ios7-people success"></i>Master 4</a> </li>
                                    <li> <a href="#"> <i class="ion ion-ios7-people danger"></i>Master 5</a> </li>
                                </ul>
                            </li>
                            <li class="footer"><a href="#">View all</a></li>
                        </ul>*@
                    </li>
                    <!-- Tasks: style can be found in dropdown.less -->
                    @*<li class="dropdown tasks-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa ion-android-note"></i> <span>Report</span> </a> </li>*@
                    <!-- User Account: style can be found in dropdown.less -->
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                           <i class="glyphicon glyphicon-user"></i> <span>
                                Account <i class="caret"></i>
                            </span>
                        </a>
                        <ul class="dropdown-menu">
                            <!-- User image -->
                            <li class="user-header bg-light-blue">
                                <img src="images/avatar.png" class="img-circle" alt="User Image" />
                                <p> Jayenthan.K <small>Admin</small> </p>
                            </li>
                            <!-- Menu Body -->
                            @*<li class="user-body">
                                <div class="col-xs-4 text-right"> <a href="#">Follower</a> </div>
                                <div class="col-xs-4 text-left"> <a href="#">Sales</a> </div>
                                <div class="col-xs-4 text-center"> <a href="#">Friends</a> </div>
                            </li>*@
                            <!-- Menu Footer-->
                            <li class="user-footer">
                                <div class="pull-left"> <a href="#" class="btn btn-default btn-flat">View Profile</a> </div>
                                <div class="pull-right"> <a href="#" class="btn btn-default btn-flat">Sign out</a> </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <div class="wrapper row-offcanvas row-offcanvas-left">
        <!-- Left side column. contains the logo and sidebar -->
        <aside class="left-side sidebar-offcanvas">
            <!-- sidebar: style can be found in sidebar.less -->
            <section class="sidebar">
                <!-- Sidebar user panel -->
                <div class="user-panel">
                    <!-- <div class="pull-left image">
                                            <img src="img/avatar3.png" class="img-circle" alt="User Image" />
                                        </div>-->
                    <div class="pull-left info">
                        <p>Modules</p>                     
                    </div>
                </div>
                <!-- search form -->
                <!--<form action="#" method="get" class="sidebar-form">
                                     <div class="input-group">
                                         <input type="text" name="q" class="form-control" placeholder="Search..."/>
                                         <span class="input-group-btn">
                                             <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
                                         </span>
                                     </div>
                                 </form>-->
                <!-- /.search form -->
                <!-- sidebar menu: : style can be found in sidebar.less -->
                <ul class="sidebar-menu">
                    <li class="active"> <a href="@Url.Action("Index","Home",null)"> <i class="fa fa-dashboard"></i> <span>Dashboard</span> </a> </li>
                    <li> <a href="@Url.Action("Index","Sales")"> <i class="fa fa-calendar"></i> <span>Sales</span> </a> </li>
                    <li> <a href="@Url.Action("Index", "Service")"> <i class="fa fa-envelope"></i> <span>Services</span></a> </li>                    
                    <li> <a href="@Url.Action("Index", "Quotation")"> <i class="fa fa-quote-right"></i> <span>Purchase Order</span></a> </li>
                    <li class="treeview">
                        <a href="#"> <i class="fa fa-calendar"></i> <span>Stock</span> <i class="fa fa-angle-left pull-right"></i> </a>
                        <ul class="treeview-menu">
                            <li><a href="@Url.Action("Maintenance", "Stock")"><i class="fa fa-angle-double-right"></i> Add Stock</a></li>
                            <li><a href="@Url.Action("Index","Stock")"><i class="fa fa-angle-double-right"></i> View Stock</a></li>                            
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#"> <i class="fa fa-table"></i> <span>Company</span> <i class="fa fa-angle-left pull-right"></i> </a>
                        <ul class="treeview-menu">
                            <li><a href="@Url.Action("Index","Company")"><i class="fa fa-angle-double-right"></i> Company</a></li>
                            <li><a href="@Url.Action("Index","Company")"><i class="fa fa-angle-double-right"></i> Service Centre</a></li>
                            <li><a href="@Url.Action("Index","Stockhouse")"><i class="fa fa-angle-double-right"></i> Stockhouses</a></li>
                            <li><a href="@Url.Action("Index","Distributor")"><i class="fa fa-angle-double-right"></i> Distrbutors</a></li>
                            <li><a href="@Url.Action("Index","Dealer")"><i class="fa fa-angle-double-right"></i> Dealers</a></li>
                            <li><a href="@Url.Action("Index","Retailer")"><i class="fa fa-angle-double-right"></i> Retailers</a></li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#"> <i class="fa fa-laptop"></i> <span>Products</span> <i class="fa fa-angle-left pull-right"></i> </a>
                        <ul class="treeview-menu"> 
                            <li><a href="@Url.Action("Accessories", "Product")"><i class="fa fa-angle-double-right"></i> Accessories</a></li>
                            <li><a href="@Url.Action("Mobilephones", "Product")"><i class="fa fa-angle-double-right"></i> Mobilephones</a></li>
                            <li><a href="@Url.Action("Laptops","Product")"><i class="fa fa-angle-double-right"></i> Laptops</a></li>                            
                            <li><a href="@Url.Action("Tablets","Product")"><i class="fa fa-angle-double-right"></i> Tablets</a></li>
                            @*<li><a href="@Url.Action("Warranties","Product")"><i class="fa fa-angle-double-right"></i> Product Warranties</a></li>*@
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#"> <i class="fa fa-folder"></i> <span>Masters</span> <i class="fa fa-angle-left pull-right"></i> </a>
                        <ul class="treeview-menu">
                            
                            <li><a href="@Url.Action("ServiceTypes", "Master")"><i class="fa fa-angle-double-right"></i> Service Types</a></li>
                            <li><a href="@Url.Action("ProductTypes", "Master")"><i class="fa fa-angle-double-right"></i> Product Types</a></li>
                            <li><a href="@Url.Action("Brands", "Master")"><i class="fa fa-angle-double-right"></i> Manufacturer</a></li>
                            <li><a href="@Url.Action("Zones", "Master")"><i class="fa fa-angle-double-right"></i> Zones</a></li>
                            <li><a href="@Url.Action("Cities", "Master")"><i class="fa fa-angle-double-right"></i>City</a></li>
                            <li><a href="@Url.Action("States", "Master")"><i class="fa fa-angle-double-right"></i>State</a></li>
                            <li><a href="@Url.Action("Countrys", "Master")"><i class="fa fa-angle-double-right"></i>Country</a></li>                            

                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#"> <i class="fa fa-user"></i> <span>Users</span> <i class="fa fa-angle-left pull-right"></i> </a>
                        <ul class="treeview-menu">
                            <li><a href="@Url.Action("Index", "Users")"><i class="fa fa-angle-double-right"></i> Office Users</a></li>
                            <li><a href="@Url.Action("Roles", "User")"><i class="fa fa-angle-double-right"></i> Roles</a></li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#"> <i class="fa fa-bar-chart-o"></i> <span>Reports</span> <i class="fa fa-angle-left pull-right"></i> </a>
                        <ul class="treeview-menu"></ul>
                    </li>
                </ul>
            </section>
            <!-- /.sidebar -->
        </aside>
        <!-- Right side column. Contains the navbar and content of the page -->
        <aside class="right-side">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1> @ViewBag.Header <small>@ViewBag.Caption</small> </h1>
                <div class="more-options">
                    @{
                        if (ViewBag.Caption == "Listing") { 
                            <a href="@ViewBag.AddNewUrl"><img src='@Url.Content("~/Images/Add.png")' /> New @ViewBag.Header</a>
                            <a href="@ViewBag.XlsUrl" target="_blank"><img src='@Url.Content("~/Images/Excel.png")' /> Excel Export</a>
                            <a href="@ViewBag.PdfUrl" target="_blank"><img src='@Url.Content("~/Images/Pdf.png")' /> PDF Export</a>
                            <a href="@ViewBag.PrintUrl" target="_blank"><img src='@Url.Content("~/Images/Print.png")' /> Print </a>
                        }
                        else { 
                            <a href="@ViewBag.BackUrl">Back <img src='@Url.Content("~/Images/Back.png")' /></a>
                        }
                    }
                    
                </div>
            </section>
            <!-- Main content -->
            <section class="content">
                <div class="row" style="padding-left: 10px;">
                    @RenderBody()
                </div>
                <!-- /.row -->
                <!-- top row -->
            </section>
            <!-- /.content -->
        </aside>
        <!-- /.right-side -->
    </div>
    <div id="dialog-message" title="Validation Errors">
    </div>    
    <script>
        $(function () {
            $("#dialog-message").dialog({
                modal: true,
                autoOpen: false,
                buttons: {
                    Ok: function () {
                        $(this).dialog("close");
                    }
                }
            });
        });
    </script>
</body>
    
</html>
